const routes = [
  {
    path: '/footer',
    name: 'footer',
    component: () => import('../views/Footer.vue'),
    children: [
      {
        path: '/footer/host',
        name: 'host',
        component: () => import('../views/Footer/Host.vue'),
      },
      {
        path: '/footer/mine',
        name: 'mine',
        component: () => import('../views/Footer/Mine.vue'),
      },
      {
        path: '/footer/list',
        name: 'list',
        component: () => import('../views/Footer/List.vue'),
      },
      {
        path: '/footer',
        redirect:'/footer/host'
      },
      {
        path: '*',
        component:()=> import('../views/NotFound.vue')
      }
    ]
  },
  // {
  //   path: '/about',
  //   name: 'about',
  //   component: () => import('../views/AboutView.vue')
  // },
  {
    path: '/',
    redirect:'/footer'
  },
  {
    path: '*',
    component:()=> import('../views/NotFound.vue')
  }
]

export default routes;